//
//  SAnimation.h
//  LSCodeLibrary
//
//  Created by Samuel on 15/3/31.
//  Copyright (c)2015年 Samuel. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@interface SAnimation: UIViewController{
}

+ (void)zoomIn:(UIView *)view andAnimationDuration:(float)duration andWait:(BOOL)wait;

/**
 *  按钮点击效果
 */
+ (void)buttonPressAnimate:(UIView *)view andAnimationDuration:(float)duration andWait:(BOOL)wait;

/**
 *  浮现
 */
+ (void)fadeIn:(UIView *)view andAnimationDuration:(float)duration andWait:(BOOL)wait;

/**
 *  消失
 */
+ (void)fadeOut:(UIView *)view andAnimationDuration:(float)duration andWait:(BOOL)wait;

/**
 *  左移
 */
+ (void)moveLeft:(UIView *)view andAnimationDuration:(float)duration andWait:(BOOL)wait andLength:(float)length;

/**
 *  右移动
 */
+ (void)moveRight:(UIView *)view andAnimationDuration:(float)duration andWait:(BOOL)wait andLength:(float)length;

/**
 *  上移
 */
+ (void)moveUp:(UIView *)view andAnimationDuration:(float)duration andWait:(BOOL)wait andLength:(float)length;

/**
 *  下移
 */
+ (void)moveDown:(UIView *)view andAnimationDuration:(float)duration andWait:(BOOL)wait andLength:(float)length;

/**
 *  旋转
 */
+ (void)rotate:(UIView *)view andAnimationDuration:(float)duration andWait:(BOOL)wait andAngle:(int)angle;

/**
 *  抖动
 */
+ (void)shakeView:(UIView*)view isOpen:(BOOL)bools;

/**
 阻塞线程
 */
+ (void)waitRunloopWith:(float)time;






@end
